package com.yic.module.wms.controller.admin.producein.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yic.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static com.yic.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 生产入库单 Excel 导出 Request VO，参数和 ProduceInPageReqVO 是一致的")
@Data
public class ProduceInExportReqVO {

    @Schema(description = "工厂", example = "5355")
    private Long factoryId;

    @Schema(description = "生产工单", example = "1822")
    private Long moId;

    @Schema(description = "产品", example = "30745")
    private Long itemWarehouseId;

    @Schema(description = "入库单号")
    private String code;

    @Schema(description = "批次号")
    private String batchNo;

    @Schema(description = "状态", example = "2")
    private Integer status;

    @Schema(description = "同步ERP")
    private Integer toErp;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
